home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_055 / screensave / poster < prev    next >
Text File  |  1992-05-06  |  2KB  |  59 lines

  1. Article 1636 of comp.sys.amiga:
  2. Path: mcdsun!noao!hao!ames!rutgers!cbmvax!carolyn
  3. From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner)
  4. Newsgroups: comp.sys.amiga
  5. Subject: Re: IFF/ILBM HAM encoded images.
  6. Message-ID: <1284@cbmvax.cbmvax.cbm.UUCP>
  7. Date: 23 Jan 87 23:45:52 GMT
  8. References: <7640@decwrl.DEC.COM> <1333@cadovax.UUCP> <1272@cbmvax.cbmvax.cbm.UUCP>
  9. Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner)
  10. Organization: Commodore Technology, West Chester, PA
  11. Lines: 432
  12.  
  13. NEW SCREENSAVE:
  14.  
  15.    I mentioned in a previous posting that my old screen-saver was written
  16. before CAMG chunks existed.  Here is my current ScreenSave.c which
  17. can be used for saving HAM screens (and normal screens of course)
  18. as ILBMs.  It now saves the FRONT screen rather than the HIGHEST screen
  19. (when I wrote the old one I didn't know that IntuitionBase->FirstScreen
  20. was the FRONT screen.  I thought it was the oldest screen).
  21.  
  22. CREATING ICONS:
  23.  
  24.    This code also provides an example of how to save an Icon for a file.
  25. I created my icon with IconEd and semi-converted it to C source with
  26. a quick and dirty Icon2C that I wrote.  If you want me to post it,
  27. let me know.  Icon2C doesn't even attempt to trace the more complicated
  28. lists (like ToolTypes) and it doesn't convert things like Gadget flags
  29. to labels (it just puts the hex values in the Gadget structure source).
  30. But it has definitely saved me at LEAST the time I took to write it.
  31.  
  32. CREATING AMIGA STDIO:
  33.  
  34.    There is also code in ScreenSave to create an Amiga stdio window
  35. if the program is started from WorkBench.  Manx users will undoubtedly
  36. have to modify these routines.
  37.  
  38.    This program is meant to be linked with AStartup.obj and it
  39. modifies the stdio handles in AStartup if started from WorkBench.
  40. (It opens a CON: window and makes it Amiga stdio so I can use
  41. Amiga.lib's printf() and getchar() regardless of whether I was
  42. started from CLI or WorkBench.)
  43.  
  44.    As shown in the "Linkage Information", this code must be linked
  45. with several standard IFF object modules.  The -v flag must be used
  46. on the second pass (LC2) of the compiler when compiling this code
  47. and each of the IFF modules.
  48.  
  49.      carolyn
  50.  
  51.  
  52.    
  53. -- 
  54. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  55. Carolyn Scheppner -- CBM   >>Amiga Technical Support<<
  56.                      UUCP  ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn 
  57.                      PHONE 215-431-9180
  58. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  59.